package com.truyentranh.controls;
//package com.haibl.controls;
//
//import it.sephiroth.android.library.imagezoom.ImageViewTouch;
//
//import java.io.InputStream;
//
//import com.haibl.R;
//import com.haibl.utils.Logger;
//import android.content.Context;
//import android.graphics.Bitmap;
//import android.graphics.Canvas;
//import android.graphics.Movie;
//import android.graphics.Paint;
//import android.util.AttributeSet;
//import android.view.Display;
//import android.view.WindowManager;
//import android.widget.ImageView;
//
//public class ImageViewerChangable extends ImageViewTouch{
//
//	public ImageViewerChangable(Context context, AttributeSet attrs) {
//		super(context, attrs);
//		// TODO Auto-generated constructor stub
//	}
//
//	public static int NONE_STATE = -1;
//	public static int LOADING_STATE = 1;
//	public static int ERROR_STATE = 2;
//	public static int DEFAULT_STATE = 3;
//	private int state = NONE_STATE;
//	
//	private boolean hasImage = false;
//	
//	
//	public void setImageBitmap(Bitmap bm, int screenWidth, int screenHeight) {
//		super.setImageBitmap(bm,true, null, 5.0f );
//		hasImage = bm != null;
//	}
//	
//	public void lockImageSetter(){
//		hasImage = true;
//	}
//	
//	public void unLockImageSetter(){
//		hasImage = false;
//	}
//	
//	public boolean hasImage(){
//		return hasImage;
//	}
//
//	public void setLoadingState(){
//		this.state = LOADING_STATE;
//	}
//	
//	
//	
//}
